package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName sys_role
 */
@TableName(value ="sys_role")
@Data
public class SysRole implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer roleId;

    /**
     * 
     */
    private String roleName;

    /**
     * 1：全部权限2：自定义数据3：部门4：个人
     */
    private Integer dataScope;

    /**
     * 
     */
    private Integer roleState;

    /**
     * 
     */
    private String roleCore;

    /**
     * 角色顺序
     */
    private Integer roleOrder;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}